import http from "@/utils/request.js";

// 登录
export const loginUser=(data)=>{
    return http.post('/login',data)
}

// 用户数据
export const getUser=(data)=>{
    // 返回对象promise
    return http.get('/user',data)
}




